package org.gruposp2p.proyectokarma.gwt.client.cometd;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;

public class SearchMessagesPanel extends Composite {

	private static SearchVoteUiBinder uiBinder = GWT
			.create(SearchVoteUiBinder.class);

	interface SearchVoteUiBinder extends UiBinder<Widget, SearchMessagesPanel> {	}
	
	@UiField VerticalPanel mainPanel;
	@UiField VerticalPanel bodyPanel;
    @UiField Button searchButton;

	public SearchMessagesPanel() {
		initWidget(uiBinder.createAndBindUi(this));
		bodyPanel.add(new MessagesTablePanel());
		searchButton.setStylePrimaryName("searchButton");
	}

}
